<?php get_header(); ?>

	<div id="content">
		<div id="main">
      <?php if(have_posts()):while(have_posts()):?><div class="post" id="post-<?php the_ID(); ?>"> <?php the_post();?>
        <h2 title="<?php the_title(); ?>"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
        <div class="entry">
          <div class="postmetadata">
            <?php the_category(', ') ?>
          </div>
          <?php the_content();?>
        </div>
      </div>
        <?php endwhile;?>
        <?php else: ?>
        <div class="post" id="post-<?php the_ID(); ?>">
          <h2><?php _e('Not Found'); ?></h2>
        </div>
        <?php endif; ?>
    </div>
    <?php get_sidebar(); ?>
	</div><!-- #content-->

</div><!-- #wrapper -->
<?php get_footer(); ?>
